home *** CD-ROM | disk | FTP | other *** search
/ Future Workshop / Future Workshop.iso / multimed / qtw111 / mplayer / playfra.rc < prev    next >
Text File  |  1993-11-23  |  12KB  |  240 lines

  1.  
  2. // ---------------------------------------------------------------------
  3. //
  4. // PlayFra.rc - Movie Player - QuickTime for Windows
  5. //
  6. //              Version 1.0
  7. //
  8. //              (c) 1988-1992 Apple Computer, Inc. All Rights Reserved.
  9. //
  10. // ---------------------------------------------------------------------
  11.  
  12.  
  13.  
  14. // Includes
  15. // --------
  16.    #include <Windows.H>            // Required by Windows
  17.    #include <qtole.h>              // Required for defines in player.hr
  18.    #include <dlgs.h>               // Required for defines in comndlg template
  19.  
  20.    #include "player.hr"            // Defines used in this file
  21.  
  22.    rcinclude version.rc
  23.  
  24. // Dialogs
  25. // -------
  26.    rcinclude playfra.dlg
  27.  
  28. // Bitmaps and Icons
  29. // -----------------
  30.    PLAYER_PLAYER_ICON    ICON    playfra.ico
  31.    PLAYER_MOVIE_ICON     ICON    moviefra.ico
  32.    PLAYER_PLAYER_BITMAP  BITMAP  playfra.bmp
  33.  
  34. // Frame window menus
  35.    PLAYER_FRAME_MENU MENU
  36.      BEGIN
  37.        POPUP "&File_F"
  38.          BEGIN
  39.            MENUITEM "&Open...",                PLAYER_FILE_OPEN
  40.            MENUITEM "&Close",                  PLAYER_FILE_CLOSE
  41.            MENUITEM SEPARATOR
  42.            MENUITEM "&Print...",               PLAYER_FILE_PRINT
  43.            MENUITEM "P&rint Setup...",         PLAYER_FILE_PRTSETUP
  44.            MENUITEM SEPARATOR
  45.            MENUITEM "E&xit",                   PLAYER_FILE_EXIT
  46.          END
  47.  
  48.        POPUP "&Edit_F"
  49.          BEGIN
  50.            MENUITEM "&Copy\tCtrl+C",           PLAYER_EDIT_COPY
  51.            MENUITEM SEPARATOR
  52.            MENUITEM "&Options...",             PLAYER_EDIT_OPTIONS
  53.            MENUITEM SEPARATOR
  54.            MENUITEM "Cancel &Selection",       PLAYER_EDIT_CANCELSEL
  55.          END
  56.  
  57.        POPUP "&Movie_F"
  58.          BEGIN
  59.            MENUITEM "Get Movie &Info...",      PLAYER_MOVIE_GETINFO
  60.            MENUITEM SEPARATOR
  61.            MENUITEM "Stop at &End",            PLAYER_MOVIE_STOPATEND
  62.            MENUITEM "&Loop",                   PLAYER_MOVIE_LOOP
  63.            MENUITEM "Loop &Back and Forth",    PLAYER_MOVIE_BACKANDFORTH
  64.            MENUITEM SEPARATOR
  65.            MENUITEM "&Play Selection Only",    PLAYER_MOVIE_PLAYSELONLY
  66.            MENUITEM SEPARATOR
  67.            MENUITEM "&Half Size",              PLAYER_MOVIE_HALFSIZE
  68.            MENUITEM "&Normal Size",            PLAYER_MOVIE_NORMALSIZE
  69.            MENUITEM "&Double Size",            PLAYER_MOVIE_DOUBLESIZE
  70.            MENUITEM SEPARATOR
  71.            MENUITEM "&Show Poster",            PLAYER_MOVIE_SHOWPOSTER
  72.          END
  73.  
  74.        POPUP "&Window_F"
  75.          BEGIN
  76.            MENUITEM "&Tile",                   PLAYER_WINDOW_TILE
  77.            MENUITEM "&Cascade",                PLAYER_WINDOW_CASCADE
  78.            MENUITEM "&Arrange Icons",          PLAYER_WINDOW_ARRANGE
  79.          END
  80.  
  81.        POPUP "&Help_F"
  82.          BEGIN
  83.            MENUITEM "&Movie Player Help",      PLAYER_HELP_PLAYERHELP
  84.            MENUITEM "&Using Help",             PLAYER_HELP_USINGHELP
  85.            MENUITEM SEPARATOR
  86.            MENUITEM "&About Movie Player...",  PLAYER_HELP_ABOUTPLAYER
  87.          END
  88.      END
  89.  
  90. // Accelerators
  91. // -------
  92.    PLAYER_ACCELERATORS ACCELERATORS
  93.      BEGIN
  94.        "^C",      PLAYER_EDIT_COPY
  95.        VK_INSERT, PLAYER_EDIT_COPY,       VIRTKEY, CONTROL
  96.        VK_F1,     PLAYER_HELP_PLAYERHELP, VIRTKEY
  97.      END
  98.  
  99. // Strings
  100. // -------
  101.    STRINGTABLE
  102.       BEGIN
  103.          PLAYER_STRING_NOMEMORY,         "Out of Memory"
  104.          PLAYER_STRING_CAPTION,          "Movie Player"
  105.          PLAYER_STRING_NOACCELORMENU,    "Unable to load menu and accelerator resources"
  106.          PLAYER_STRING_NOWINDOW,         "Unable to create main window"
  107.          PLAYER_STRING_NODC,             "Unable to get a device context"
  108.  
  109.          PLAYER_STRING_FILEEXT,            ".mov"
  110.          PLAYER_STRING_OPENMOVIEFILTER,    "QuickTime Movies (*.mov)|*.mov|AVI Movies (*.avi)|*.avi|"
  111.          PLAYER_STRING_CDLG_FINDRESFAIL,   "CDERR_FINDRESFAILURE"
  112.          PLAYER_STRING_CDLG_INITFAIL,      "CDERR_INITIALIZATION"
  113.          PLAYER_STRING_CDLG_LOADRESFAIL,   "CDERR_LOADRESFAILURE"
  114.          PLAYER_STRING_CDLG_LOCKRESFAIL,   "CDERR_LOCKRESFAILURE"
  115.          PLAYER_STRING_CDLG_MEMALLOCFAIL,  "CDERR_MEMALLOCFAILURE"
  116.          PLAYER_STRING_CDLG_MEMLOCKFAIL,   "CDERR_MEMLOCKFAILURE"
  117.          PLAYER_STRING_CDLG_STRUCTSIZE,    "CDERR_STRUCTSIZE"
  118.          PLAYER_STRING_CDLG_BADFILENAME,   "FNERR_INVALIDFILENAME"
  119.          PLAYER_STRING_CDLG_PRTINITFAIL,   "PDERR_INITFAILURE"
  120.          PLAYER_STRING_CDLG_LOADDRVFAIL,   "PDERR_LOADDRVFAILURE"
  121.          PLAYER_STRING_CDLG_NODEFPRINTER,  "PDERR_NODEFAULTPRN"
  122.          PLAYER_STRING_CDLG_NODEVICES,     "PDERR_NODEVICES"
  123.          PLAYER_STRING_CDLG_NOFINDPNTR,    "PDERR_PRINTERNOTFOUND"
  124.          PLAYER_STRING_CDLG_SETUPFAIL,     "PDERR_SETUPFAILURE"
  125.          PLAYER_STRING_CDLG_GENFAILURE,    "Error %lu occurred in common dialog processing"
  126.          PLAYER_STRING_CDLG_FORMAT,        "Error %s occured during common dialg processing. Refer to 3.1 SDK manual, vol 2 for description of error"
  127.          PLAYER_STRING_CDLG_CAP,           "Common Dialog Error"
  128.  
  129.          PLAYER_STRING_CANCELDLG,        "Unable to create print cancel dialog box. Possibly low on memory"
  130.          PLAYER_STRING_ABORTPROC,        "Unable to set print abort procedure"
  131.          PLAYER_STRING_PRT_OUTOFDISK,    "SP_OUTOFDISK"
  132.          PLAYER_STRING_PRT_NOMEMORY,     "SP_OUTOFMEMORY"
  133.          PLAYER_STRING_PRT_GENERROR,     "General printing error. Possibly out of memory or disk space."
  134.          PLAYER_STRING_PRT_CAPTION,      "Printing Error"
  135.  
  136.          PLAYER_STRING_NOHELPFILE,       "Cannot find the help file. Be sure that the file Playfra.hlp is in either the same directory as Player.exe or in the help subdirectory"
  137.  
  138.          PLAYER_STRING_SIZEBYTES         "%lu on disk"
  139.          PLAYER_STRING_SIZEKBYTES        "%luK on disk"
  140.          PLAYER_STRING_DURATION,         "%.2f seconds"
  141.          PLAYER_STRING_SELECTION,        "%.2f -- %.2f sec"
  142.          PLAYER_STRING_NOSELECTION,      "(none)"
  143.          PLAYER_STRING_WANDH,            "%uW x %uH pixels"
  144.          PLAYER_STRING_RESOLUTION,       "%u dpi"
  145.          PLAYER_STRING_NORESOLUTION,     "n/a"
  146.          PLAYER_STRING_SND_NOSOUND,      "No Sound"
  147.          PLAYER_STRING_SND_NOCARD,       "No Sound Hardware"
  148.          PLAYER_STRING_SND_MONO,         "Mono"
  149.          PLAYER_STRING_SND_STEREO,       "Stereo"
  150.          PLAYER_STRING_SND_SOUNDQUALITY, "%u bits @ %lu.%.3lu KHz"
  151.          PLAYER_STRING_NOVIDEO,          "No Video"
  152.  
  153.          PLAYER_STRING_CODEC_NONE,       "(none)"
  154.          PLAYER_STRING_CODEC_PHOTO,      "Photo-JPEG"
  155.          PLAYER_STRING_CODEC_ANIMATION,  "Animation"
  156.          PLAYER_STRING_CODEC_GRAPHICS,   "Graphics"
  157.          PLAYER_STRING_CODEC_VIDEO,      "Video"
  158.          PLAYER_STRING_CODEC_CVID,       "CompactVideo"
  159.  
  160.          PLAYER_STRING_COLORS,           "%lu"
  161.          PLAYER_STRING_CLRS_BANDW,       "Black and White"
  162.          PLAYER_STRING_CLRS_2GRAYS,      "2 Grays"
  163.          PLAYER_STRING_CLRS_4COLORS,     "4"
  164.          PLAYER_STRING_CLRS_4GRAYS,      "4 Grays"
  165.          PLAYER_STRING_CLRS_16COLORS,    "16"
  166.          PLAYER_STRING_CLRS_16GRAYS,     "16 Grays"
  167.          PLAYER_STRING_CLRS_256COLORS,   "256"
  168.          PLAYER_STRING_CLRS_256GRAYS,    "256 Grays"
  169.          PLAYER_STRING_CLRS_THOUSANDS,   "Thousands"
  170.          PLAYER_STRING_CLRS_MILLIONS,    "Millions"
  171.          PLAYER_STRING_CLRS_MILLNSPLUS,  "Millions +"
  172.  
  173.          PLAYER_STRING_QTWNOEXIST,       "The QuickTime library needed to run QuickTime movies cannot be found."
  174.          PLAYER_STRING_QTWBADDLL,        "Required QuickTime libraries cannot be found. You may have deleted them or you may be attempting to load too many QuickTime applications."
  175.          PLAYER_STRING_QTW286,           "QuickTime requires at least a 386 computer"
  176.          PLAYER_STRING_QTWWIN30,         "QuickTime detects Windows version lower than version 3.1. Windows 3.1 or higher is required."
  177.          PLAYER_STRING_QTWFAILED,        "A general QuickTime Initialization failure has occured"
  178.          PLAYER_STRING_ENTMOVFAILED,     "QuickTime Enter Movies has failed"
  179.          PLAYER_STRING_OLEINITFAILED,    "QuickTime OLE initialization failed"
  180.  
  181.          PLAYER_STRING_NOMAKEMOVIEWND,   "Not able to create movie window. Possibly low on memory"
  182.          PLAYER_STRING_NOOPENFILE,       "Could not open file %s"
  183.          PLAYER_STRING_NOINFO,           "Failure reading movie file info"
  184.          PLAYER_STRING_NOMOVIEDATA,      "Cannot find movie data struct"
  185.  
  186.          PLAYER_STRING_NEWMOVIEERR,      "Could not open movie %s"
  187.          PLAYER_STRING_INVALIDDATAREF,   "Movie %s contains a data reference. Data references are not supported by the current version of QuickTime for Windows"
  188.          PLAYER_STRING_NOCONTROLLER,     "Could not open a movie controller for movie %s"
  189.  
  190.          PLAYER_STRING_COPYFAILED,       "Copy frame failed. Possibly low on memory"
  191.          PLAYER_STRING_GETPICTFAILED,    "Get current frame failed, Possibly low on memory"
  192.          PLAYER_STRING_DRAWPICFAILED,    "Draw frame failed. Possibly low on memory"
  193.          PLAYER_STRING_FACENAME,         "Arial"
  194.  
  195.  
  196. // The following are the standard and ole replacement strings for the file menu close
  197. // and exit menu items.  The longer strings are used when the wnd is an activated
  198. // ole object.
  199. // ----------------------------------------------------
  200.          PLAYER_STRING_CLOSE,            "&Close"
  201.          PLAYER_STRING_EXIT,             "E&xit"
  202.          PLAYER_STRING_OLECLOSE,         "&Close && return to %s"
  203.          PLAYER_STRING_OLEEXIT,          "E&xit && return to %s"
  204.  
  205. // The following are strings used to access the default options in qtw.ini
  206.          PLAYER_STRING_OPTIONS_NAME,          "Movie Player Edit Options"
  207.          PLAYER_STRING_OPTIONS_SHOWMC,        "Show Movie Controller"
  208.          PLAYER_STRING_OPTIONS_PLAYSELONLY,   "Play Selection Only"
  209.          PLAYER_STRING_OPTIONS_DRAWFRAME,     "Frame Around Window"
  210.          PLAYER_STRING_OPTIONS_USEPALETTE,    "Use Movie Palette"
  211.          PLAYER_STRING_OPTIONS_COPYICON,      "Paste Icon"
  212.          PLAYER_STRING_OPTIONS_SHOWTITLE,     "Show Title Bar"
  213.          PLAYER_STRING_OPTIONS_CURRENTFRAME,  "Copy Current Frame"
  214.          PLAYER_STRING_OPTIONS_LOOP,          "Loop"
  215.          PLAYER_STRING_OPTIONS_LOOPPALIND,    "Loop Back and Forth"
  216.          PLAYER_STRING_OPTIONS_SIZEHALF,      "Half Size"
  217.          PLAYER_STRING_OPTIONS_SIZENORMAL,    "Normal Size"
  218.          PLAYER_STRING_OPTIONS_SIZEDOUBLE,    "Double Size"
  219.  
  220. // The following are strings that are used by QTOLE.DLL.
  221. // ----------------------------------------------------
  222.          OLE_STRING_READABLENAME,        "QuickTime Movie"
  223.          OLE_STRING_PLAY,                "&Playback"
  224.          OLE_STRING_EDIT,                "&Activate Movie Player"
  225.          OLE_STRING_OPTIONS,             "Play &Options..."
  226.          OLE_STRING_UPDATE,              "This object has been changed.\nUpdate %s before proceeding?"
  227.          OLE_STRING_ALREADYINSERTING,    "The Insert Object in progress must be completed before another can be initiated"
  228.  
  229.             // The following are used in the file search message boxes and
  230.             // in the search dialog
  231.          OLE_STRING_WHEREFILE,           "Cannot locate movie file %s. Update path?"
  232.          OLE_STRING_UPDATEPATH,          "Path of movie file has changed. Update %s before proceeding?"
  233.          OLE_STRING_NOTFILESIZE,         "Selected file has the correct name, but not the correct size. Use this file ?"
  234.          OLE_STRING_NOTFILENAME,         "Selected file does not have the correct name."
  235.  
  236.          OLE_STRING_SEARCHDIRS,          "Search..."
  237.          OLE_STRING_FILENOTFOUND,        "File not found."
  238.  
  239.       END
  240.